package com.liming.common.pojo.entity.cart;

import com.baomidou.mybatisplus.annotation.TableName;
import com.liming.common.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 购物项实体类
 *
 * @author liming
 * @date 2025/1/17
 */
@Data
@TableName("se_cart_item")
@EqualsAndHashCode(callSuper = true)
public class CartItem extends BaseEntity {

    /**
     * 购物车ID
     */
    private Long cartId;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 商品数量
     */
    private Integer quantity;

    /**
     * 商品价格
     */
    private Integer price;
}
